package net.mihome.app.bean;

import java.util.Map;

public class UserPrepertie {
	private int id;
	private String ukey;
	private String uvalue;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUkey() {
		return ukey;
	}
	public void setUkey(String ukey) {
		this.ukey = ukey;
	}
	public String getUvalue() {
		return uvalue;
	}
	public void setUvalue(String uvalue) {
		this.uvalue = uvalue;
	}
	public static UserPrepertie parse(Map map){
		UserPrepertie userPrepertie=null;
		if(map!=null){
			userPrepertie=new UserPrepertie();
			userPrepertie.setUkey((String) map.get("ukey"));
			userPrepertie.setUvalue((String) map.get("uvalue"));
		}
		return userPrepertie;
	}
}
